package org.usyk.util;

import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

/**
 * Created by IntelliJ IDEA.
 * User: Алексейка
 * Date: 19.02.12
 * Time: 17:11
 * To change this template use File | Settings | File Templates.
 */
public class PartyMap implements Map<Set<Set<Integer>>,Map<Integer,Double>> {

    private Map<Set<Set<Integer>>,Map<Integer,Double>> innerMap = new HashMap<Set<Set<Integer>>, Map<Integer, Double>>();

    @Override
    public int size() {
        return innerMap.size();
    }

    @Override
    public boolean isEmpty() {
        return innerMap.isEmpty();
    }

    @Override
    public boolean containsKey(Object key) {
        return innerMap.containsKey(key);
    }

    @Override
    public boolean containsValue(Object value) {
        return innerMap.containsValue(value);
    }

    @Override
    public Map<Integer, Double> get(Object key) {
        return innerMap.get(key);
    }

    @Override
    public Map<Integer, Double> put(Set<Set<Integer>> key, Map<Integer, Double> value) {
        return innerMap.put(key, value);
    }

    @Override
    public Map<Integer, Double> remove(Object key) {
        return innerMap.remove(key);
    }

    @Override
    public void putAll(Map<? extends Set<Set<Integer>>, ? extends Map<Integer, Double>> m) {
        innerMap.putAll(m);
    }

    @Override
    public void clear() {
        innerMap.clear();
    }

    @Override
    public Set<Set<Set<Integer>>> keySet() {
        return innerMap.keySet();
    }

    @Override
    public Collection<Map<Integer, Double>> values() {
        return innerMap.values();
    }

    @Override
    public Set<Entry<Set<Set<Integer>>, Map<Integer, Double>>> entrySet() {
        return innerMap.entrySet();
    }

    @Override
    public boolean equals(Object o) {
        return innerMap.equals(o);
    }

    @Override
    public int hashCode() {
        return innerMap.hashCode();
    }
}
